import request from "@/utils/request";

export function findDivisionList(data) {
  return request({
    url: '/base-sixreal/division/list',
    method: 'get',
    params:data
  })
}

export function addDivision(data) {
  return request({
    url: '/base-sixreal/division/add',
    method: 'post',
    data
  })
}

export function updateDivision(data) {
  return request({
    url: '/base-sixreal/division/update',
    method: 'post',
    data
  })
}

export function delDivision(id) {
  return request({
    url: '/base-sixreal/division/delete/'+id,
    method: 'get',
  })
}

export function findVehicledeploymentCount(data) {
  return request({
    url: '/base-distribution/vehicledeployment/findVehicledeploymentCount',
    method: 'get',
    data
  })
}




